The definition for an ANSI C function begins with a FUNCTION PROTOTYPE. This heading gives the function name and declares the types of the FORMAL PARAMETERS and the type of the RETURN VALUE of the function, if any. The function syntax is:
<type of return value or 'void'> <function name> (<parameter declarations or 'void'>)
{
<function body>
.
.
}
Note there is no trailing semicolon following either the prototype or the function body.
Also note that pre-ANSI C functions list the parameters following the function name in the heading, but declare the types of these parameters in additional statements between the heading and the left bracket beginning the function body.